package com.softa.dao.mapper.relation.business;

import com.softa.dao.dto.ProductDTO;
import com.softa.dao.model.Product;
import com.softa.vo.QueryRequest;

import java.util.List;

/**
 * Created by yangl on 2017/8/8.
 */
public interface ProductRelationMapper {
    int insertSelective(Product record);

    int updateByPrimaryKeySelective(Product record);

    /**
     * 更具条件查询
     */
    List<ProductDTO> selectByCondition(QueryRequest queryRequest);

    Long selectCountByCondition(QueryRequest queryRequest);
}
